﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KJSyncXP.Sqlite.Model
{
    [Table(Name = "KJ_EXAMINE_HEADER")]
    public class Sqlite_KJ_EXAMINE_HEADER
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        public int LJ_ID { get; set; }

        public DateTime? CREATION_DATE { get; set; }

        public string EQP { get; set; }

        public string EXAMINE_PROJECT { get; set; }

        public string PART_NUMBER { get; set; }

        public DateTime? RECEIVE_DATE { get; set; }

        public string RECEIVE_FLAG { get; set; } = "PENDING";

        public string REMARKS { get; set; }

        public string SHIFT { get; set; }

        public string USER_CODE { get; set; }

        /// <summary>设备清洁</summary>
        [Column(IsIgnore = true)] 
        [JsonIgnore]
        public string Clean { get; set; }

        /// <summary>密封效果</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string SealEffect { get; set; }

        /// <summary>仪表性能</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string MeterPerformance { get; set; }

        /// <summary>设备运转</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string DeviceOperation { get; set; }

        /// <summary>夹具/挂钩完好</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string FixtureGood { get; set; }

        /// <summary>基座插销完好</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string BasePinGood { get; set; }

        /// <summary>微机运行</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string ComputerRun { get; set; }

        /// <summary>急停装置完好</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public string EmergencyStopGood { get; set; }

        /// <summary>温度(°C)</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public decimal? Temperature { get; set; }

        /// <summary>压力(MPa)</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public decimal? Pressure { get; set; }

        /// <summary>序号</summary>
        [Column(IsIgnore = true)]
        [JsonIgnore]
        public int Index { get; set; }


    }
}
